<!DOCTYPE html>
<html lang="en-us"  style="height: 100%;">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>3DGIS</title>
    <script src="Build/UnityLoader.js"></script>
    <script src="StreamingAssets/extend.js"></script>
    <script>
      var unity = UnityLoader.instantiate("unityContainer", "Build/gis_a.json");

	  function getQueryVariable(variable)
	  {
       var query = window.location.search.substring(1);
       var vars = query.split("&");
       for (var i=0;i<vars.length;i++)
	   {
          var pair = vars[i].split("=");
          if(pair[0] == variable)
		  {
			return pair[1];
		  }
       }
       return(false);
     }
    </script>
  </head>
  <body  style="height: 100%; margin:0">
      <div id="unityContainer" style="width: 1200px; height: 640px; margin: auto"></div>
      <div style="margin:5px">
          <a>JS接口调用：</a>
          <input type="button" value="1新建路径" onclick="showDraw()" />
          <input type="button" value="1更改路径" onclick="changeDraw()" />
          <input type="button" value="1自动贴地" onclick="changeDrawAutoDem()" />
          <input type="button" value="1删除路径" onclick="delectDraw()" />
          <input type="button" value="2新建填充" onclick="showDraw()" />
          <input type="button" value="2删除填充" onclick="delectDraw()" />
          <input type="button" value="3显示标签" onclick="showTips()" />
          <input type="button" value="3显示标签组" onclick="showTipsArray()" />
          <input type="button" value="3更改标签" onclick="changeTips()" />
          <input type="button" value="3删除标签" onclick="delectTips()" />
          <input type="button" value="4加入模型" onclick="showModel()" />
          <input type="button" value="4删除模型" onclick="delectModel()" />
          <input type="button" value="5跳转到" onclick="JsFly()" />
      </div>
  </body>
</html>
